//
//  EJSUserModel.h
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2017/12/29.
//  Copyright © 2017年 lifayu. All rights reserved.
//

#import "JsonBaseObject.h"

@interface EJSUserModel : JsonBaseObject

CopyStringProperty avatar;
CopyStringProperty name;
CopyStringProperty gender;
CopyStringProperty genderText;
CopyStringProperty age;
CopyStringProperty phone;
CopyStringProperty levelId;
CopyStringProperty levelName;

- (void)save;
+ (EJSUserModel *)userModel;
+ (void)syncUserInfo;
+ (void)logout;

+ (void)saveCountryCode:(NSString *)countryCode;
+ (NSString *)countryCode;

@end

@interface EJSUserTokenModel : JsonBaseObject
CopyStringProperty act;
CopyStringProperty phone;
CopyStringProperty token;
CopyStringProperty secretKey;
CopyStringProperty levelId;
CopyStringProperty levelName;
CopyStringProperty salesmanCode;

- (void)save;

+ (EJSUserTokenModel *)userTokenModel;

@end
